projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468e75e
)
range: Fix get_range_rect
author
Timm Bäder
<mail@baedert.org>
Fri, 30 Jun 2017 11:21:06 +0000
(13:21 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:15 +0000
(21:27 -0400)
get_own_allocation's position is relative to the given widget's origin,
not the parent.
gtk/gtkrange.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrange.c
b/gtk/gtkrange.c
index 0a5fbc13bb59a805b3b727fb17313d9df3d9926d..839d22c0cd3d482b7e309479e61de3b752229d0d 100644
(file)
--- a/
gtk/gtkrange.c
+++ b/
gtk/gtkrange.c
@@
-922,7
+922,7
@@
gtk_range_get_range_rect (GtkRange *range,
g_return_if_fail (GTK_IS_RANGE (range));
g_return_if_fail (range_rect != NULL);
- gtk_widget_get_o
wn
_allocation (range->priv->trough_widget, range_rect);
+ gtk_widget_get_o
uter
_allocation (range->priv->trough_widget, range_rect);
}
/**